package com.demo.dao;

import com.demo.pojo.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @author : liuf
 * @version V1.0
 * @title: UserDao
 * @date 2022年03月22日 22:51
 **/
@Mapper
public interface UserDao {

    @Select("select * from user_info where user_name =#{userName} and password=#{password}")
    UserInfo queryUserInfo(UserInfo userInfo);
}
